/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.InheritanceDemo;

/**
 *
 * @author Leo
 */
public class AccountInheritance  extends Account{
    
        private double newBlnce;
        private int amnt;
        
        public AccountInheritance(double newBl,String accH,String accT,double openBl){
            
            super(accH,accT,openBl);
            newBlnce = newBl;
        }

    public AccountInheritance(int i) {
       amnt=i;
    }
public void setNewBl(double newAmnt){
    newBlnce= newAmnt;
}
    
}
